<!--
 * @Description: 
 * @Author: Lars
 * @Date: 2022-01-28 21:56:13
 * @LastEditors: Lars
 * @LastEditTime: 2022-01-28 22:46:29
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./style.css">
</head>
<body>
    <div class="contain">
        <div class="panle active" style="background-image: url(./images/photo1.jpg);">
            <h3>The world</h3>
        </div>
        <div class="panle" style="background-image: url(./images/photo2.jpg);">
            <h3>Wild forest</h3>
        </div>
        <div class="panle" style="background-image: url(./images/photo3.jpg);">
            <h3>Sunny Beach</h3>
        </div>
        <div class="panle" style="background-image: url(./images/photo4.jpg);">
            <h3>City on Winter</h3>
        </div>
        <div class="panle" style="background-image: url(./images/photo5.jpg);">
            <h3>Mountains - Clouds</h3>
        </div>
    </div>
    <!-- 
        1.flex布局
        2.获取子节点的方法
        3.获取class的classList
     -->

    <script src="./script.js"></script>
</body>
</html>